<template>
  <div class="index_page">
    小程序初体验
    <div>测试</div>
  </div>
</template>

<script>
import card from '@/components/card'

export default {
  data () {
    return {
      data: ''
    }
  },

  components: {
    card
  },

  methods: {
    bindViewTap () {
      const url = '../logs/main'
      if (mpvuePlatform === 'wx') {
        mpvue.switchTab({ url })
      } else {
        mpvue.navigateTo({ url })
      }
    }
  },

  created () {
    // let app = getApp()
  }
}
</script>

<style lang="scss" scoped>
.index_page{
  div{
    color: red;
  }
}
</style>
